package com.uduemc.biso.core.common.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.uduemc.biso.core.common.dto.CBNodemanageSiteList;
import com.uduemc.biso.core.common.feign.fallback.CHostFeignFallback;
import com.uduemc.biso.core.utils.RestResult;

@FeignClient(value = "BISO-BASIC-SERVICE", fallback = CHostFeignFallback.class)
@RequestMapping(value = "/common/host")
public interface CHostFeign {

	/**
	 * 获取站点信息数据列表
	 * 
	 * @return
	 */
	@PostMapping("/list-infos")
	public RestResult findListInfos(@RequestBody CBNodemanageSiteList cBNodemanageSiteList);
}
